﻿@typeparam TValue
@inherits BaseCheckComponent<bool>
@if ( !HasCustomRegistration )
{
    <input @ref="@ElementRef" id="@ElementId" type="radio" class="@ClassNames" style="@StyleNames" disabled="@Disabled" readonly="@ReadOnly" checked="@CurrentValue" @onchange="@OnChangeHandler" name="@Group" @attributes="@Attributes" />
    @ChildContent
    @Feedback
}
else
{
    @RenderCustomComponent()
}